package com.cmwa.solution.business.product.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cmwa.solution.annotation.MybatisDao;
import com.cmwa.solution.base.entity.SearchParam;
import com.cmwa.solution.business.product.entity.TreFeeDetailVo;

@MybatisDao
public interface TreFeeDetailDao {

	/**
	 * 通过产品编码查找费用信息
	 * @param subPrdCode
	 * @return
	 */
	public List<TreFeeDetailVo> getTreFeeDetailBySubPrdCode(@Param("subPrdCode") String subPrdCode);

	public List<TreFeeDetailVo> TreFeeDetailListPage(SearchParam param);

	public TreFeeDetailVo getTreFeeDetailByFeeId(@Param("feeId")String feeId);

	public void insertTreFeeDetail(TreFeeDetailVo treFeeDetailVo);

	public void updateTreFeeDetail(TreFeeDetailVo treFeeDetailVo);

	public int deleteTreFeeDetail(@Param("modifyId")String modifyId,@Param("feeId")String feeId);

	public int deleteTreFeeRate(@Param("modifyId")String modifyId,@Param("subPrdCode")String subPrdCode,@Param("feeCode")String feeCode);
}
